package com.book.system.service;

import com.book.system.entity.User;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
 * @author ：add
 * @date ：Created in 2024/4/27 12:05
 */
public interface UserService {

    boolean login(User user, HttpSession session);

    String getMenu(Integer flag);

    List<Map<String, Object>> getList(String name, Integer flag);

    int add(User user);

    int updateById(User user);

    int delete(Integer integer);

    int rePassword(User user);
}
